module.exports = {
    devServer: {
        proxy: {
            '/api': {
                target: "http://127.0.0.1:3000",  //需要代理的地址 
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
}
